package com.jsoft.jsofted.platform.service;

import com.jsoft.jsofted.platform.entity.MenuEntity;
import com.jsoft.jsofted.framework.service.CocService;

import java.util.List;

public interface MenuService extends CocService<MenuEntity> {

    /**
     * 查询用户权限范围内的全部功能菜单
     *
     * @param userId 用户ID
     * @return
     */
    List<MenuEntity> queryMenusByUser(Long userId);

}
